staked_evm_balance_of_erc20

query staked_evm_balance_of_erc20(    network_id: integer,     token_address: byte_array,     beneficiary: byte_array): big_integer

Retrieves the staked balance of an ERC-20 token for a specified beneficiary on a given network. The query is useful for checking the staked balance of a beneficiary on an EVM network.

Return

big_integer - The staked balance of the specified ERC-20 token for the beneficiary, or 0L if the token or staked balance is not found.

Parameters

network_id
  • The ID of the network where the ERC-20 token is deployed.

token_address
  • The address of the ERC-20 token contract.

beneficiary
  • The address of the beneficiary whose staked token balance is being queried.